<?php

namespace App\Services;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Support\Facades\Log;
use App\Models\ScheduleTask;
use Illuminate\Database\QueryException;
use Illuminate\Support\Facades\Schema;

interface ScheduleServiceInterFace
{
    /**
     * 从数据库注册所有调度任务
     */
    public function registerTasks($schedule);
    public function saveTask($schedule);
    public function deleteTask(int $id);
    public function toggleTaskStatus($id, $isActive);

    public function getTaskList($credentials);
    
} 